]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Make the dummy cursor invisible
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 27 Jun 2014 15:59:10 +0000 (11:59 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 27 Jun 2014 15:59:10 +0000 (11:59 -0400)
This means that moving it around won't attempt to cause a full redraw of
the stage. Yikes.

js/ui/layout.js

index faa10f601989ecc8b0fa3fbde82ec0510664614c..789097e1ddc9ab789c4853023004b0c918137a19 100644 (file)
@@ -224,7 +224,7 @@ const LayoutManager = new Lang.Class({
 
         // A dummy actor that tracks the mouse or text cursor, based on the
         // position and size set in setDummyCursorGeometry.
-        this.dummyCursor = new St.Widget({ width: 0, height: 0 });
+        this.dummyCursor = new St.Widget({ width: 0, height: 0, visible: false });
         this.uiGroup.add_actor(this.dummyCursor);
 
         global.stage.remove_actor(global.top_window_group);